package com.itheima.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description:
 * @Author: Hank
 * @Date: 2025/3/3 13:31
 */
@Data//提供getset方法
@Component//交给IOC容器管理
@ConfigurationProperties(prefix = "aliyun.oss")//使用yml内 aliyun.oss 下的项

public class AliyunOSSProperties {
    private String endpoint;
    private String  bucketName;
    private String region;
}
